pipeline
{
   environment
   {
      resProjectPath = "/Volumes/DistributeProject/Chi/Res"
   }

   agent
   {
      label 'master'
   }
   
   stages
   {
      stage('Hello')
      {
         steps
         {
            echo "Hello"

            // def resProjectPath = "/Users/Chijin/Documents/DistributeProject/chi/Res"
            sh '''#!/bin/bash -il 
               svn cleanup "${resProjectPath}" --remove-unversioned
            '''
            scripts
            {
               // def config = load @"shared_lib\\config.groovy"
               // echo "${config.mountDir()}"
            }
         }
      }

      stage("World")
      {
         steps
         {
            echo "World"
         }
      }
   }
}
